package com.bafa.objects;

import java.io.Serializable;

public class User implements Serializable{

	protected String userId;
	protected int teamId;
	protected String rights;
	private boolean resetPassword = false;
	public boolean missingFields = false;
	
	public boolean isResetPassword() {
		return resetPassword;
	}
	public User(){
		
	}
	public User(String userId,int teamId,String rights){
		this.userId = userId;
		this.teamId = teamId;
		this.rights = rights;
	}
	public User(String userId,int teamId,String rights,boolean resetPassword){
		this.userId = userId;
		this.teamId = teamId;
		this.rights = rights;
		this.resetPassword=resetPassword;
	}
	public String getRights() {
		return rights;
	}
	public int getTeamId() {
		return teamId;
	}
	public String getUserId() {
		return userId;
	}
	
	public String toString(){
		return userId +" "+teamId;
	}
	public void setUserId(String userId) {
		this.userId = userId;
	}
	public boolean isMissingFields() {
		return missingFields;
	}
	public void setMissingFields(boolean missingFields) {
		this.missingFields = missingFields;
	}
}
